package com.pocket.insight.base.sql;

import com.pocket.insight.entity.Dataset;
import com.pocket.insight.entity.ME;

import java.util.List;
import java.util.Map;

/**
 * 描述：
 *
 * @author shuize
 * @create 2024/12/8
 */
public interface SchemaProvider {

    Map<String, Dataset.Metric> fetchMetricMap();

    Map<String, Dataset.Field> fetchSchemaMap();

    List<Dataset.Field> getFields();

    Dataset.Field getField(ME expr);

    Dataset.Field getFieldByLabel(ME expr);
}

